-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: Improve test flakiness #27556
test: Improve test flakiness #27556
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Builds ready [75ab876]
Page Load Metrics (1863 ± 58 ms)
Bundle size diffs
|
@@ -118,7 +117,7 @@ describe('Transfer custom tokens @no-mmi', function () { | |||
// transfer token from dapp | |||
await openDapp(driver, contractAddress); | |||
await driver.clickElement({ text: 'Transfer Tokens', tag: 'button' }); | |||
await switchToNotificationWindow(driver); | |||
await driver.switchToWindowWithTitle(WINDOW_TITLES.Dialog); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this improve flakiness? What is the cause of the issue being solved?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was just refactoring the deprecated method, mainly there is no real flakiness on this test. Multiple re runs of it don't show any.
Builds ready [db58611]
Page Load Metrics (2025 ± 101 ms)
Bundle size diffs
|
Quality Gate passedIssues Measures |
Builds ready [f5117a5]
Page Load Metrics (1737 ± 61 ms)
Bundle size diffs
|
Description
Improves the flakiness tests:
Removes deprecated switchToNotification window: "Transfer custom tokens @no-mmi transfer custom tokens from dapp customizing gas values"
Related issues
Fixes: #22563 #24633
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist